1bashThis demonstrates extracting the filename from a full path using the basename command.basename "/My/path/to/file.txt"external toolsbasenamepath manipulation